# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit gnome2 eutils

DESCRIPTION="mCatalog is an application for catalogue films and books written using Mono and GTK#"
HOMEPAGE="http://mcatalog.sourceforge.net/"
MYP=${PN}_${PV//./_}
MY_P=${MYP/_2/p2}
SRC_URI="http://roadmap.digitalomaha.net/roadmap/${MY_P}_src.tar.gz"
S="${WORKDIR}/${P/.2/}/src"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

IUSE="doc"
DEPEND=">=dev-lang/mono-1.0
		>=dev-dotnet/gtk-sharp-1.0.4-r1
		sci-geosciences/gpsd
		dev-dotnet/gtkhtml-sharp
		dev-dotnet/gnome-sharp
		dev-dotnet/glade-sharp
		dev-dotnet/gconf-sharp
		>=gnome-base/gconf-2.4
		=dev-db/sqlite-2.8*"
RDEPEND="${DEPEND}"
DESKTOP="gtk2"
DOCS="AUTHORS Changelog INSTALL NEWS README"

src_compile(){
	emake || die "make failed."
}
